package SEDay12;

public class Washer extends Electric{
    private String doorStyle;
    private String coolMethod;

    public Washer(String doorStyle, String coolMethod) {
        this.doorStyle = doorStyle;
        this.coolMethod = coolMethod;
    }

    public Washer(String brand, String model, String color, double price, String doorStyle, String coolMethod) {
        super(brand, model, color, price);
        this.doorStyle = doorStyle;
        this.coolMethod = coolMethod;
    }

    public String getDoorStyle() {
        return doorStyle;
    }

    public void setDoorStyle(String doorStyle) {
        this.doorStyle = doorStyle;
    }

    public String getCoolMethod() {
        return coolMethod;
    }

    public void setCoolMethod(String coolMethod) {
        this.coolMethod = coolMethod;
    }

    @Override
    public void print() {
        super.print();
        System.out.println("、"+doorStyle+"、"+ coolMethod);
    }
}
